package com.cheifsteam.springframework.aop;

/**
 * @author qrx
 * @date 2025/8/5 9:31
 * @description: 被代理的目标对象
 */
public class TargetSource {

    private Object target;

    public TargetSource(Object target) {
        this.target = target;
    }

    public Class<?>[] getTargetClass(){
        return this.target.getClass().getInterfaces();
    }


    public Object getTarget(){
        return this.target;
    }

}
